<ion-view title="学生首页" hide-nav-bar="true">
    <ion-content class="padding">
        <p ng-show="vm.studentHadBind == false" style="text-align: center;">提示：还没有家长绑定这位宝宝呢！</p>
        <div ng-show="vm.studentHadBind == true">
            <div class="row">
                <div class="col col-center menu-div" ui-sref="memberMenu.parentInfo({parentId:vm.parentId})">
                    <i class="fa fa-home" aria-hidden="true"></i>
                    <p>家长信息</p>
                </div>
                <div class="col col-center menu-div" ui-sref="memberMenu.display">
                    <i class="fa fa-file-photo-o" aria-hidden="true"></i>
                    <p>精彩瞬间</p>
                </div>
            </div>
            <div class="row">
                <div class="col col-center menu-div" id="showIOSActionSheet" ng-show="vm.clientType == 'ios'">
                    <!--<div class="col col-center menu-div" id="" ui-sref="memberMenu.leaveMsg({toMemberId:vm.parentId})">-->
                    <i class="fa fa-comment" aria-hidden="true"></i>
                    <p>留言</p>
                </div>
                <div class="col col-center menu-div" id="showAndroidActionSheet" ng-show="vm.clientType == 'android'">
                    <!--<div class="col col-center menu-div" id="" ui-sref="memberMenu.leaveMsg({toMemberId:vm.parentId})">-->
                    <i class="fa fa-comment" aria-hidden="true"></i>
                    <p>留言</p>
                </div>
                <div class="col col-center menu-div">
                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </ion-content>
    <!--ios 菜单-->
    <div>
        <div class="weui-mask" id="iosMask" style="display: none"></div>
        <div class="weui-actionsheet" id="iosActionsheet">
            <div class="weui-actionsheet__title">
                <!--<p class="weui-actionsheet__title-text">这是一个标题，可以为一行或者两行。</p>-->
            </div>
            <div class="weui-actionsheet__menu">
                <div class="weui-actionsheet__cell" ui-sref="msg.text({toMemberId:vm.studentId})">
                    <i class="fa fa-pencil-square-o" style="width:15px;margin-right: 10px;"></i>添加文字留言
                </div>
                <div class="weui-actionsheet__cell" ui-sref="msg.voice({toMemberId:vm.studentId})">
                    <i class="fa fa-microphone" style="width:15px;margin-right: 10px;"></i>添加语音留言
                </div>
            </div>
            <div class="weui-actionsheet__action">
                <div class="weui-actionsheet__cell" id="iosActionsheetCancel">取消</div>
            </div>
        </div>
    </div>

    <!--android 菜单-->
    <div class="weui-skin_android" id="androidActionsheet" style="display: none">
        <div class="weui-mask"></div>
        <div class="weui-actionsheet">
            <div class="weui-actionsheet__menu">
                <div class="weui-actionsheet__cell" ui-sref="msg.text({toMemberId:vm.studentId})">
                    <i class="fa fa-pencil-square-o" style="width:15px;margin-right: 10px;"></i>添加文字留言
                </div>
                <div class="weui-actionsheet__cell" ui-sref="msg.voice({toMemberId:vm.studentId})">
                    <i class="fa fa-microphone" style="width:15px;margin-right: 10px;"></i>添加语音留言
                </div>
            </div>
        </div>
    </div>
</ion-view>